FROM java:8
MAINTAINER hu_tongfu
VOLUME /tmp
RUN mkdir /app
COPY ./target/common-sys.jar /app/common.jar
EXPOSE 8002
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-Djava.awt.headless=true","-Dfile.encoding=utf-8","-Xmx128m","-Xms128m","-XX:MetaspaceSize=128M","-XX:MaxMetaspaceSize=128M","-jar","/app/common.jar"]